﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QLNSClient
{
    public partial class uc_ThongKe : UserControl
    {
        public uc_ThongKe()
        {
            InitializeComponent();
        }

        private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            splitContainerControl1.Panel2.Controls.Clear();
            uc_ThongkeKT thongkeKT = new uc_ThongkeKT();
            thongkeKT.Dock = DockStyle.Fill;
            splitContainerControl1.Panel2.Controls.Add(thongkeKT);
        }

        private void navBarItem2_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            splitContainerControl1.Panel2.Controls.Clear();
            uc_ThongkeKL thongkeKL = new uc_ThongkeKL();
            thongkeKL.Dock = DockStyle.Fill;
            splitContainerControl1.Panel2.Controls.Add(thongkeKL);
        }
    }
}
